@import './common';

.can-wrap{
  box-sizing:border-box;
  padding:setSize(0) setSize(30);

  .can-box{
    background:rgba(51,51,51,1);
    border-radius:setSize(10);

    .title-box{
      position: relative;
      box-sizing:border-box;
      padding:setSize(15) setSize(32) setSize(5);

      .title{
        color: #FFFFFF;
        font-size: setSize(26);
        font-weight: 400;
        text-align: center;
      }

      .sel-box{
        position:absolute;
        top: setSize(15);
        right: setSize(32);

        .text{
          margin-right: setSize(6);
          font-size: setSize(24);
          font-weight: 400;
          color: #999999;
        }

        .icon-box{
          box-sizing:border-box;

          .icon{
            display: block;
            width: setSize(26);
            height: setSize(26);
          }
        }
      }
    }

    .line-box{
      box-sizing:border-box;
      padding:setSize(0) setSize(30);

      .line{
        width: 100%;
        height: setSize(1);
        background-color: #131213;
      }
    }

    .progress-box{
      box-sizing:border-box;
      padding:setSize(0) setSize(30) setSize(32);

      .progress-title{
        line-height: setSize(80);
        font-size: setSize(26);
        font-weight: 400;
      }

      .progress-out{
        width: 100%;
        height: setSize(20);
        border-radius:setSize(200);
        background-color:#fff;
      }

      .progress-in{
        width: 66%;
        height: setSize(20);
        border-radius:setSize(200);
        background-color:$mainColor;
      }
    }
  }
}

/* 一周日历 */
.time { 
  box-sizing: border-box;
  padding-top: setSize(25);
  padding-bottom: setSize(20);
  text-align: center;
  font-size: setSize(24);
  color: #cecece;

  .time-item {
    width: setSize((690)/7);
    box-sizing: border-box;
    padding-bottom: setSize(10);

    .time-week {
      height: setSize(40);
      line-height: setSize(40);
      font-size: setSize(26);
    }

    .time-day{

      .day-text{
        display: inline-block;
        width: setSize(50);
        height: setSize(50);
        line-height: setSize(50);
        // margin-top: setSize(10);
      }
    }
  }

  .time-action {

    .time-week{
      font-weight: bold;
      color: $textColor;
    }

    .day-text {
      border-radius: 50%;
      background-color: $mainColor;
      color: $bgWin;
    }
  }

  .icon-box{
    width: setSize(60);
    height: setSize(100);
    box-sizing:border-box;
    // padding:setSize(0) setSize(30) setSize(0) setSize(20);

    .icon{
      display: block;
      width: setSize(33);
      height: setSize(22);
    }
  }
}

.fixed-times{
  height: setSize(20*2 + 100);

  .time{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
  }
}

.time-week{
  color: #ebebeb !important;
}

.time{

  .time-item{
    padding-bottom: setSize(20);
  }

}

.day-text{
  width: setSize(54);
  height: setSize(54);
  line-height: setSize(54);
  border-radius:50%;
  color: #1F1F1F;
  font-size: setSize(30);
  font-weight: 500;
}

.day-text-default{
  background-color: $mainColor;
  opacity:0.19;
}

.day-text-active{
  background-color: $mainColor;
}

.day-text-today{
  background-color:#1F1F1F;
  color: $mainColor;
}

.day-text-future{
  background-color:#8A8A8A;
  color: #FFFFFF;
}

.day-text-noscope{
  color: #8A8A8A;
}